package com.example.springbootmybatis.mapper;

import com.example.springbootmybatis.entity.MessageEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper {
    public int addMessage(MessageEntity entity);

    public List<MessageEntity> getMessageByUid(Integer uid);

    public int  setMessageReadUid(Integer uid);
}
